package com.ruibang.glass.purchase.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 特采跟踪
 * </p>
 *
 * @author mameng
 * @since 2024-04-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("g_purchase_special_application")
@ApiModel(description = "特采跟踪")
public class PurchaseSpecialApplication extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("采购单货单ID")
    private String arrivalOrderId;

    @ApiModelProperty(value = "物料名称")
    private String itemName;

    @ApiModelProperty(value = "物品代码")
    private String itemCode;

    @ApiModelProperty(value = "物品Id")
    private String itemId;

    @ApiModelProperty(value = "项目编号")
    private String projectNumber;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "验收人")
    private String inspector;

    @ApiModelProperty(value = "验收人ID")
    private String inspectorId;

    @ApiModelProperty(value = "到货Id")
    private String saleArrivalId;

    @ApiModelProperty(value = "规格型号")
    private String specificationModel;

    @ApiModelProperty(value = "部门名称")
    @TableField(exist = false)
    private String departmentName;

    @ApiModelProperty(value = "使用部门Id")
    private String departmentId;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "让步签收原因")
    private String concessionReason;

    @ApiModelProperty(value = "使用情况说明")
    private String useReason;

    @ApiModelProperty(value = "备注")
    private String remark;
}
